window: Protect against popover destruction on ::unmap
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 16 Mar 2015 12:46:14 +0000 (13:46 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 16 Mar 2015 15:27:06 +0000 (16:27 +0100)
commitb4b23580a61bd9694e178a1a6b16bcb783fd9013
tree54d59262086f500de78339e21859b6d68d5ec92d
parentb4e61b759ba9c0782ff7fd592046f46022ca471e
window: Protect against popover destruction on ::unmap

On popover_unmap(), perform the gtk_widget_unmap() call last, so the
GtkWindowPopover data is ensured to be alive throughout the function
if the popover widget is destroyed right on ::unmap.

https://bugzilla.gnome.org/show_bug.cgi?id=745829
gtk/gtkwindow.c